public class demo3 {
    public static void main(String[] args) {
        int a;
        long b = 10;
        a = (int)b;
        System.out.println(a);
    }
}
